<onFailedWorkflow name="FAIL_WF" description="Failed status workflow">
	<smtpSendTask name="smtpSuccess" description="Sending failed status email" host="smtpe.bnymellon.net" 
		from="ClearTranSupport" to="nagarajan.nagalingam@bnymellon.com" >
	  <subject>
		<![CDATA[
		  %JOB_NAME% failed.
		]]>
	  </subject>
	  <body>
		<![CDATA[
		  Below are the statuses of the Workflow
		  WF_NAME		: %WF_NAME%
		  JOB_NAME		: %JOB_NAME%
		  BATCH_ID		: %BATCH_ID%
		  STATUS		: %STATUS%
		  LOG_MSG		: %LOG_MSG%
		  PROCESS_START	: %PROCESS_START%
		  PROCESS_END	: %PROCESS_END%
		  DURATION		: %DURATION%
		  EXIT_CODE		: %EXIT_CODE%
		  RETRY_COUNT	: %RETRY_COUNT%
		  CMD_ARGS		: %CMD_ARGS%
		]]>
	  </body>
	</smtpSendTask>
</onFailedWorkflow>